import moment from 'moment'
// import Cookies from 'js-cookie'

export function getTimeString (time) {
  // const language = Cookies.get('language') || 'zh'
  // if (language == 'zh') {
  //   time = moment(time).add(8, 'h').add(10, 'm').format()
  // }
  time = moment(time).add(10, 'm').format()
  return moment(time).format('YYYY-MM-DD HH:mm:ss')
}
